package com.ece.devirtualizus.ModelDto;

import java.util.Date;

public class Session {
	Modules sessionType;
	int repetitionsNumber;
	int points;
	Date dateBegin;
	Date dateEnd;
	boolean addToProgressBar;
	boolean addToBDD;

	public Session(Modules session, int repet, int pts, Date begin, Date end) {
		this.sessionType = session;
		this.repetitionsNumber = repet;
		this.points = pts;
		this.dateBegin = begin;
		this.dateEnd = end;
		this.addToProgressBar = false;
		this.addToBDD = false;
	}

	public boolean isAddToProgressBar() {
		return addToProgressBar;
	}

	public void setAddToProgressBar(boolean addToProgressBar) {
		this.addToProgressBar = addToProgressBar;
	}

	public boolean isAddToBDD() {
		return addToBDD;
	}

	public void setAddToBDD(boolean addToBDD) {
		this.addToBDD = addToBDD;
	}

	public Modules getSessionType() {
		return sessionType;
	}

	public int getRepetitionsNumber() {
		return repetitionsNumber;
	}

	public int getPoints() {
		return points;
	}

	public Date getDateBegin() {
		return dateBegin;
	}

	public Date getDateEnd() {
		return dateEnd;
	}

}
